package com.adoalonso.gwtbingmaps.client.geom;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * JavaScriptObject representing a map point
 * 
 * @author adoalonso
 */
public class VELatLong extends JavaScriptObject {

  protected VELatLong() {
  }

  /*
   * public VELatLong() { this(0, 0, 0); }
   * 
   * public VELatLong(double latitude, double longitude) { this(latitude,
   * longitude, 0); }
   * 
   * public VELatLong(double latitude, double longitude, double altitude) {
   * setLatitude(latitude); setLongitude(longitude); setAltitude(altitude); }
   * 
   * public VELatLong(double latitude, double longitude, double altitude,
   * VEAltitudeMode altitudeMode) { this(latitude, longitude, altitude); // TODO
   * see what to do with VEAltitudeMode }
   */

  /**
   * Returns the latitude position
   * 
   * @return
   */
  public final native double getLatitude() /*-{
		return this.Latitude;
  }-*/;

  /**
   * Sets the latitude position
   * 
   * @param latitude
   */
  public final native void setLatitude(double latitude) /*-{
		this.Latitude = latitude;
  }-*/;

  /**
   * Returns the longitude position
   * 
   * @return
   */
  public final native double getLongitude() /*-{
		return this.Longitude;
  }-*/;

  /**
   * Sets the latitude attribute
   * 
   * @param longitude
   */
  public final native void setLongitude(double longitude) /*-{
		this.Longitude = longitude;
  }-*/;

  /**
   * Returns the altitude attribute
   * 
   * @return
   */
  public final native double getAltitude() /*-{
		return this.Altitude;
  }-*/;

  /**
   * Sets the altitude attribute
   * 
   * @param altitude
   */
  public final native void setAltitude(double altitude) /*-{
		this.Altitude = altitude;
  }-*/;

}
